<template>
  <div class="bView">
    <h1>属性绑定指令</h1>
    <input type="text" value="name">
    <input type="text" v-bind:value="name">
    <input type="text" :value="name"><br>
    <a href="url">链接&nbsp;&nbsp;&nbsp;</a>
    <a :href="url">链接</a>
  </div>
</template>

<script setup>
import {ref} from "vue";
const name=ref('星期六');
const url=ref('https://www.baidu.com');
</script>

<style scoped>

</style>